package com.hopu.oa.service.process;


import com.hopu.oa.entity.management.AoaTypeList;
import com.hopu.oa.entity.process.*;
import com.hopu.oa.entity.user.AoaUser;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: NewProcessService2
 * @Description:
 * @Date: 2021/11/22 19:21
 */
public interface NewProcessService2 {
    List<AoaTypeList> queryType(String key);


    /*
      @Description : 通讯录
      @Date   :  2021/11/22
      @Param  : [userName, index, size]
      @return : java.util.List<com.hopu.oa.entity.user.AoaUser>
     */
    List<AoaUser> findUserInfo(String baseKey, int index, int size);


    /*
      @Description :部门，职位
      @Date   :  2021/11/22
      @Param  : []
      @return : java.util.Map<java.lang.String,java.lang.Object>
     */
    Map<String, Object> queryDeptAndPosition();


    int insertProcess(AoaProcessList process);

    //转正
    int insertRegular(AoaRegular regular);

    int insertProcess_holiday(AoaProcessList process);

    //请假
    int insertHoliday(AoaHoliday holiday);

    //辞职
    int insertProcess_resign(AoaProcessList process);

    //离职交接用户id
    int queryUserIdByName(String handuser);

    //离职
    int insertResign(AoaResign resign);

    //附件
    int inertAttachment(AoaAttachmentList attachment);

    int insertOvertime(AoaOvertime overtime);

    //出差
    int insertEvection(AoaEvection evection);


    //费用科目
    List<AoaSubject> querySubject();

    int inertBursement(AoaBursement bursement);

    int insertReviewed(AoaReviewed reviewed);

    //费用细节表
    int insertDetails(Details details);
}
